package br.ufrj.dcc.comp2.musica.vista;

import java.awt.BorderLayout;

import javax.swing.JPanel;

import br.ufrj.dcc.comp2.musica.controle.ControleCardLayout;

public class PainelEditarCursos extends JPanel {
	PainelAdicionarDisciplinaCentral painelAdicionarDisciplina = new PainelAdicionarDisciplinaCentral();
	PainelCriarCursos painelCriarCursos = new PainelCriarCursos();
	
	BorderLayout borderLayout = new BorderLayout();
	
	private ControleCardLayout controleCardLayout;
	public ControleCardLayout getControleCardLayout() {
		return controleCardLayout;
	}
	
	public PainelEditarCursos(ControleCardLayout controleCardLayout) {
		this.controleCardLayout = controleCardLayout;
		setLayout(borderLayout);
		
		add(painelCriarCursos, BorderLayout.NORTH);
		add(painelAdicionarDisciplina, BorderLayout.CENTER);
	}

	public PainelAdicionarDisciplinaCentral getPainelAdicionarDisciplina() {
		return painelAdicionarDisciplina;
	}

	public PainelCriarCursos getPainelCriarCursos() {
		return painelCriarCursos;
	}
	
}